package com.zhongen.wflow.service;

import com.zhongen.wflow.bean.entity.WflowSubGroups;
import com.zhongen.wflow.bean.entity.WflowSubProcess;
import com.zhongen.wflow.bean.vo.WflowSubModelVo;

import java.util.List;

/**
 * @author : willian fu
 * @date : 2023/11/26
 */
public interface SubModelGroupService {

	List<WflowSubGroups> getGroups();

	List<WflowSubProcess> getModels();

	void addGroup(String name);

	void deleteGroup(Integer id);

	void updateGroup(WflowSubGroups group);

	void groupSort(List<Integer> ids);

	WflowSubModelVo getModelDetail(String code);

	void deployModel(String id);

	String saveModel(WflowSubModelVo modelVo);

	void processSort(Integer groupId, List<String> ids);

	void enableProcess(String id, Integer groupId, boolean enable);

	void modelMoveToGroup(String id, Integer groupId);

}
